[POWERPC][XEN] Detect bad spurious interrupt condition and panic instead of hang
authorJimi Xenidis <jimix@watson.ibm.com>
Tue, 12 Sep 2006 10:47:22 +0000 (06:47 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Tue, 12 Sep 2006 10:47:22 +0000 (06:47 -0400)
commite82f3160cabe1c317912fcc42cc590dee59b72bd
tree909dd43dcc56fbedd76dbd1dff2699f48a23c205
parent4e650106d32e04bbab8738af9c818c679f537c05
[POWERPC][XEN] Detect bad spurious interrupt condition and panic instead of hang

When handing off the MPIC from Xen to Dom0, which is the current yet
not permamnet design, the MPIC can cause the processor to assert an
external interrupt when none is available.  Rather then simply hang in
this condition we now panic so the user can see that there is indeed a
problem and identify it as this one.

This condition seems to be related to temperature and the probablity
of it occuring decreases if the machine is allowed to stay idle (not
in the Xen panic loop) for a minute or two.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/external.c